package com.weixing.mall.provider.model.vo.report.customer;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import com.weixing.mall.provider.support.excel.EnumConverter.OrderTypeConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author jzy
 * @date 2020/5/17
 */
@Data
@ApiModel(value="CustomerRefundReportVo", description="客服部退货报表")
public class CustomerRefundReportVo {
    @ApiModelProperty(value = "日期")
    private String dayTime;
    @ApiModelProperty(value = "是否是个人 1-个人")
    @ExcelIgnore
    private Integer isOwn;
    @ApiModelProperty(value = "代理商父Id")
    @ExcelIgnore
    private Long agentPid;
    @ApiModelProperty(value = "所属客服Id")
    @ExcelIgnore
    private Long customerId;
    @ApiModelProperty(value = "所属客服名称")
    @ExcelIgnore
    private String customerName;
    @ApiModelProperty(value = "代理商Id")
    @ExcelIgnore
    private Long agentId;
    @ApiModelProperty(value = "用户角色")
    @ExcelIgnore
    private String userRole;
    @ApiModelProperty(value = "角色类型 1客服  2代理商")
    @ExcelIgnore
    private Integer roleType;
    @ApiModelProperty(value = "活动id--修改")
    @ExcelIgnore
    private Long actId;
    @ApiModelProperty(value = "订单类型 1正价订单；2代理商活动订单；3秒杀订单")
    @ExcelProperty(value = "订单类型",converter = OrderTypeConverter.class)
    private OrderTypeEnum orderType;

    @ApiModelProperty(value = "用户名")
    @ExcelProperty("用户名")
    private String userName;
    @ApiModelProperty(value = "活动名称")
    @ExcelProperty("活动名称")
    private String actName;
    @ApiModelProperty(value = "销售数量--修改")
    @ExcelProperty("销售数量")
    private Integer quantity;
    @ApiModelProperty(value = "销售金额--修改")
    @ExcelProperty("销售金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "取消数量--修改")
    @ExcelProperty("取消数量")
    private Integer cancelQuantity;
    @ApiModelProperty(value = "取消金额--修改")
    @ExcelProperty("取消金额")
    private BigDecimal cancelAmount;
    @ApiModelProperty(value = "断货数量--修改")
    @ExcelProperty("断货数量")
    private Integer stockoutQuantity;
    @ApiModelProperty(value = "断货金额--修改")
    @ExcelProperty("断货金额")
    private BigDecimal stockoutAmount;
    @ApiModelProperty(value = "退货数量--修改")
    @ExcelProperty("退货数量")
    private Integer returnQuantity;
    @ApiModelProperty(value = "退货金额--修改")
    @ExcelProperty("退货金额")
    private BigDecimal returnAmount;
    @ApiModelProperty(value = "瑕疵数量--修改")
    @ExcelProperty("瑕疵数量")
    private Integer flawQuantity;
    @ApiModelProperty(value = "问题订单件数--修改")
    @ExcelProperty("问题订单件数")
    private Integer issueQuantity;
    @ApiModelProperty(value = "问题订单金额--修改")
    @ExcelProperty("问题订单金额")
    private BigDecimal issueAmount;
}
